//
//  MytabbarController.swift
//  练习
//
//  Created by 梅津山 on 2017/6/13.
//  Copyright © 2017年 梅津山. All rights reserved.
//

import UIKit

class MytabbarController: UITabBarController {

    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = #colorLiteral(red: 0.7450980544, green: 0.1568627506, blue: 0.07450980693, alpha: 1)
        
        let home = UIStoryboard.init(name: "Home", bundle: nil).instantiateViewController(withIdentifier: "HomeController")
        home.tabBarItem.title = "dgbah"
        let news = UIStoryboard.init(name: "News", bundle: nil).instantiateViewController(withIdentifier: "NewsController")
        news.tabBarItem.title = "qsa"
        viewControllers = [home,news]
    }
}
